package com.mytx.mapper;

import com.mytx.pojo.CoinTransfer;
import com.mytx.pojo.CoinTransferExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoinTransferMapper {
    /**
     * 查询我的转账
     * @param uId
     * @return
     */
    List<CoinTransfer>selectMyTransfer(String uId);

/* ===================================================  分割线  =================================================*/
    int countByExample(CoinTransferExample example);

    int deleteByExample(CoinTransferExample example);

    int deleteByPrimaryKey(String id);

    int insert(CoinTransfer record);

    int insertSelective(CoinTransfer record);

    List<CoinTransfer> selectByExample(CoinTransferExample example);

    CoinTransfer selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CoinTransfer record, @Param("example") CoinTransferExample example);

    int updateByExample(@Param("record") CoinTransfer record, @Param("example") CoinTransferExample example);

    int updateByPrimaryKeySelective(CoinTransfer record);

    int updateByPrimaryKey(CoinTransfer record);
}